package com.ssmTest.service;

import com.ssmTest.model.SecondHand;

import java.util.List;

public interface ISecondHandService {
    //二手物品列表
    List<SecondHand> SecondHandList(int toexamine);

    void insertSecondHand(SecondHand secondHand);

    void updateInformation(SecondHand secondHand);

    SecondHand selectSecondHand(int id);

    //关键字查询
    List<SecondHand> selectSecondByAndName(int pagenum,String city,String name);

    List<SecondHand> selectSecondByNoName(int pagenum,String city);
    List<SecondHand> selectByPersionalId(int personal_id);
}
